package com.xtpt.disaster.mapper;

import com.xtpt.disaster.bean.DbnodeInfo;

import java.util.List;

public interface DbnodeInfoMapper {
    int deleteByPrimaryKey(Long dbId);

    int insert(DbnodeInfo record);

    int insertSelective(DbnodeInfo record);

    DbnodeInfo selectByPrimaryKey(Long dbId);

    int updateByPrimaryKeySelective(DbnodeInfo record);

    int updateByPrimaryKey(DbnodeInfo record);

    List<DbnodeInfo> selectAllNode();

    int batchDelete(long[] ids);
}